export const routes = [
  // {
  //   name: LIST_TYPE.TOP,
  //   path: `/${LIST_TYPE.TOP}`,
  //   component: () => import("./views/UTopic.vue"),
  //   props: { type: LIST_TYPE.TOP },
  // },
  // {
  //   name: LIST_TYPE.NEW,
  //   path: `/${LIST_TYPE.NEW}`,
  //   component: () => import("./views/UTopic.vue"),
  //   props: { type: LIST_TYPE.NEW },
  // },
  {
    name: 'index',
    path: '/index',
    meta: {
      noTop: true,
      noLogin: true
    },
    component: () => import('./views/index.vue')
  },
  {
    name: 'register',
    path: '/user/register',
    meta: {
      noTop: true,
      noLogin: true
    },
    component: () => import('./views/register.vue')
  },
  {
    name: 'login',
    path: '/user/login',
    meta: {
      noTop: true,
      noLogin: true
    },
    component: () => import('./views/login.vue')
  }
]
